package com.justech.eat.mapper.hr;

import com.justech.eat.model.EmpCalendar;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @program: eat-service
 * @description:
 * @author: feifei.li
 * @create: 2020-06-17 16:33
 **/
@Mapper
public interface EmpCalendarMapper {

    @Select("select * from V_EmpCalendar where EMPCODE=#{jobNumber} AND CalendarDate=#{date}")
    List<EmpCalendar> findByDateAndJobNumber(String date, String jobNumber);
}
